#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QStandardItemModel>
#include <factorynode.h>


namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

public slots:
    void onClickOpenFile();
    void onClickSaveFile();
    void onClickLearnTextFromFile();
    void onClickLearnText();
    void onClickTalkMe();
    void onClickExit();

private:
    Ui::MainWindow *ui;
    FactoryNode factory;
    QStandardItemModel *model;

    void updateColumnView();
};

#endif // MAINWINDOW_H
